package com.ftg.learn.system.mapper;

import com.ftg.learn.system.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author kangjx
 * @since 2023-09-20
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from exam.user")
    List<User> showAllBySelf();

}
